﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IDAL;
using DALFactory;
namespace BLL {
    public class BakupAndRestoreDb {
        //SQLDAL.BakupAndRestoreDb dal = new SQLDAL.BakupAndRestoreDb();
        //AccessDAL.BackupAndRestoreDb dal = new AccessDAL.BackupAndRestoreDb();
        IBackupAndRestoreDb dal = DataAccess.CreateBackupAndRestoreDb();

        public void BakupDb(string path) {
            dal.BackupDb(path);
        }
        public void RestoreDb(string path) {
            dal.RestoreDb(path);
        }
    }
}
